package com.clkj.xiuzheng.pojo.shangcheng;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author lipeiyi
 */
@ApiModel( value ="t_xz_operator" )
@Table( name ="t_xz_operator" )
public class Operator  implements Serializable {


	/**
	 * 操作员id
	 */
    @Id
   	@Column(name = "operator_id",updatable = false)
	@ApiModelProperty( value="操作员id")
	private Integer operatorId;

	/**
	 * 操作员名称
	 */
   	@Column(name = "operator_name" )
	@ApiModelProperty( value="操作员名称")
	private String operatorName;

	/**
	 * 操作员账号
	 */
   	@Column(name = "operator_account" )
	@ApiModelProperty( value="操作员账号")
	private String operatorAccount;

	/**
	 * 操作员密码
	 */
   	@Column(name = "operator_password" )
	@ApiModelProperty( value="操作员密码")
	private String operatorPassword;

	/**
	 * 注册时间
	 */
   	@Column(name = "create_time" )
	@ApiModelProperty( value="注册时间")
	private String createTime;

	/**
	 * 0禁用中 1使用中
	 */
   	@Column(name = "operator_status" )
	@ApiModelProperty( value="0禁用中 1使用中")
	private Integer operatorStatus;

	/**
	 * 身份id
	 */
   	@Column(name = "identity_id" )
	@ApiModelProperty( value="身份id")
	private Integer identityId;

	/**
	 * 公司id
	 */
   	@Column(name = "company_id" )
	@ApiModelProperty( value="公司id")
	private Integer companyId;
    /**
     * 身份id
     */
    @Transient
    private String identityName;


  public Integer getOperatorId() {
    return operatorId;
  }

  public void setOperatorId(Integer operatorId) {
    this.operatorId = operatorId;
  }


  public String getOperatorName() {
    return operatorName;
  }

  public void setOperatorName(String operatorName) {
    this.operatorName = operatorName;
  }


  public String getOperatorAccount() {
    return operatorAccount;
  }

  public void setOperatorAccount(String operatorAccount) {
    this.operatorAccount = operatorAccount;
  }


  public String getOperatorPassword() {
    return operatorPassword;
  }

  public void setOperatorPassword(String operatorPassword) {
    this.operatorPassword = operatorPassword;
  }


  public String getCreateTime() {
    return createTime;
  }

  public void setCreateTime(String createTime) {
    this.createTime = createTime;
  }


  public Integer getOperatorStatus() {
    return operatorStatus;
  }

  public void setOperatorStatus(Integer operatorStatus) {
    this.operatorStatus = operatorStatus;
  }


  public Integer getIdentityId() {
    return identityId;
  }

  public void setIdentityId(Integer identityId) {
    this.identityId = identityId;
  }


  public Integer getCompanyId() {
    return companyId;
  }

  public void setCompanyId(Integer companyId) {
    this.companyId = companyId;
  }

    public String getIdentityName() {
        return identityName;
    }

    public void setIdentityName(String identityName) {
        this.identityName = identityName;
    }
}
